// DlgSelSetPipDimType1.cpp : implementation file
//

#include "stdafx.h"
#include "pdarx.h"
#include "DlgSelSetPipDimType1.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CDlgSelSetPipDimType dialog


CDlgSelSetPipDimType::CDlgSelSetPipDimType(CWnd* pParent /*=NULL*/)
	: CDialog(CDlgSelSetPipDimType::IDD, pParent)
{
	//{{AFX_DATA_INIT(CDlgSelSetPipDimType)
	m_all = -1;
	//}}AFX_DATA_INIT
	::AfxSetResourceHandle(g_ARXInstance);
}


void CDlgSelSetPipDimType::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDlgSelSetPipDimType)
	DDX_Radio(pDX, IDC_ALL, m_all);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CDlgSelSetPipDimType, CDialog)
	//{{AFX_MSG_MAP(CDlgSelSetPipDimType)
	ON_WM_CREATE()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDlgSelSetPipDimType message handlers

BOOL CDlgSelSetPipDimType::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	m_all = 1;

	UpdateData(FALSE);
	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

int CDlgSelSetPipDimType::OnCreate(LPCREATESTRUCT lpCreateStruct) 
{
	if (CDialog::OnCreate(lpCreateStruct) == -1)
		return -1;
	
	::AfxSetResourceHandle(g_CADInstance);
	
	return 0;
}
